/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package client.data;

import java.util.Random;

/**
 *
 * @author 
 */
public class Dobbelsteen {
    private String[] letters;
    private Random generator;
    
    public Dobbelsteen(){
        generator = new Random();
        letters = new String[6];
    }
    
    public Dobbelsteen(String[] letters){
        this.letters = letters;
    }
    
    public String getRandomLetter(){
        return letters[generator.nextInt(letters.length)];
    }
    
    public void setLetters(String[] l){
        this.letters = l;
    }
}
